<?php 
$msg['ok'] = "The operation was completed successfully!";
$msg['err'] = "Error";

$msg['field.required'] = "The field '%s' is required.";
$msg['field.exists'] = "Entry with '%s' exists.";
$msg['image.unsupported_type'] = "Unsupported image type.";

//start validator messages
// rules
$msg['validator.rule.==']       = 'Fields %s and %s must coincide.';
$msg['validator.rule.!=']       = 'Fields %s and %s must be different.';
$msg['validator.rule.<=']       = 'Field %s must be less or equal than %s.';
$msg['validator.rule.>=']       = 'Field %s must be more or equal than %s.';
$msg['validator.rule.>']        = 'Field %s must be more than %s.';
$msg['validator.rule.<']        = 'Field %s must be less than %s.';
$msg['validator.rule.req']      = 'Please fill in the %2$s field.';
$msg['validator.rule.more']     = 'Please select at least %2$s %1$s.';
$msg['validator.rule.less']     = 'Please select not more than %2$s %1$s.';

//fields
$msg['validator.field.minlen']   = 'The length of the %s field must be more than or equal to %s characters.';
$msg['validator.field.maxlen']   = 'The length of the %s field must be less than or equal to %s characters.';
$msg['validator.field.mineq']    = '%s: field value must be more than %s.';
$msg['validator.field.maxeq']    = '%s: field value must be less than %s.';
$msg['validator.field.min']      = '%s: field value must be more than or equal to %s.';
$msg['validator.field.max']      = '%s: field value must be less than or equal to %s.';
$msg['validator.field.pattern']  = 'Please provide a correct %s';
$msg['validator.field.maxsize'] = 'Count of %s must be less than %s.';
$msg['validator.field.minsize'] = 'Count of %s must be more than %s.';
$msg['validator.field.custom']  = '%s';

//messagef for default field validators
$msg['validator.def.required']  = 'Please fill in the %s field.';
$msg['validator.def.ssn']       = '%s must have XXX-XX-XXXX or XX-XXXXXXX format.';
$msg['validator.def.ip']        = '%s must be a valid IP address.';

// end validator  messages
$msg['file.upload.err'] = "Error while uploading a file.";

// email
$msg['email.umblocked.link'] = "Если ваш email существует в системе то на него было отправлено письмо";

$msg['account.email.exists'] = 'This email already exists in the system.';
$msg['account.login.exists'] = 'This login already exists in the system.';

$msg['category.exists'] = 'This category title already exists in the system.';